﻿namespace Cureos.Measures.Quantities
{
    /// <summary>
    /// Class to represent a humidity unit of measure (%)
    /// </summary>
    internal struct Humidity : IQuantity<Humidity>
    {
        private static readonly QuantityDimension _dimension = QuantityDimension.Number;
        public static readonly Unit<Humidity> Relative = new Unit<Humidity>("%");

        public IUnit<Humidity> StandardUnit
        {
            get { return Relative; }
        }

        public QuantityDimension Dimension
        {
            get { return _dimension; }
        }

        IUnit IQuantity.StandardUnit
        {
            get { return Relative; }
        }

        public override string ToString()
        {
            return GetType().Name;
        }
    }
}